package com.zzw.basic.classloader;

import java.lang.reflect.Array;

public class ArrayTest1 {

	public static void main(String[] args) {
		Object arr = Array.newInstance(String.class, 10);
		Array.set(arr, 5, "5");
		Array.set(arr, 6, "6");
		Object obj1 = Array.get(arr, 5);
		Object obj2 = Array.get(arr, 6);
		System.out.println(obj1);
		System.out.println(obj2);
	}
}
